﻿<%@ Page Title="" Language="C#" MasterPageFile="~/User/User.Master" AutoEventWireup="true" CodeBehind="Nowshowing.aspx.cs" Inherits="TicketMovie.User.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class='bg-content' style="background:#261118; ">
		<div class="bg-inner">
            <div id="divtitle">
                Now Showing
                <a>
                    <img src="img/arr_next.png" />
                </a>
            </div>
			<div id="pgMovie" class="j-paging">
                <ul>

                <asp:Repeater ID="DataList1" runat="server">
                    <ItemTemplate>
                           <li>
                                 <div class="movie-item">
                            <div class="img-moive">
                                <div class="img">
                                    <a href="">
                                        <img src='../Admin/img/posters/<%# Eval("image") %>' />
                                    </a>
                                    <div class="type">
                                         <div class="a"><%# Eval("film_format")%></div>
                                         <div class="b"></div>
                                    </div>
                                </div>
                                <div class="movie-des">
                                    <div class="subject-content"><%# Eval("film_name")%>&nbsp<%#Eval("film_format")%>.</div>
                                    <div class="Category">Category : <span><%# Eval("name_category")%></span></div>
                                    <div class="detail-content"><%# Eval("detail")%>...</div>
                                    <div class="sep10" style=" height:10px;"></div>
                                    <span class="play-icon" id="btnPlayIcon" title="Trailer"></span>
                                    <a class="ticket-icon" href="" title="Lịch chiếu"></a>
                                    <span class="rate-icon" id="btnRateIcon" title="Đ&aacute;nh gi&aacute;"></span>
                                    </div>
                                </div>
                            </div>
                                 <div class="title-movie">
                                 <%# Eval("film_name")%>&nbsp<%#Eval("film_format")%>.
                            </div>
                            </li>
                        </ItemTemplate>
                </asp:Repeater>
                </ul>
                <div class="page1">
                    <asp:LinkButton ID="lbtnFirst" runat="server" CausesValidation="false" OnClick="lbtnFirst_Click" >First</asp:LinkButton>
                     <asp:LinkButton ID="lbtnPrevious" runat="server" CausesValidation="false" OnClick="lbtnPrevious_Click" >Previous</asp:LinkButton>
                    <asp:Repeater ID="dlPaging" runat="server" OnItemCommand="dlPaging_ItemCommand" OnItemDataBound="dlPaging_ItemDataBound">
                        <ItemTemplate>
                            <asp:LinkButton ID="lnkbtnPaging"  runat="server" CommandArgument='<%# Eval("valuefiel") %>'
                                            CommandName="Paging" Text='<%# Eval("textfiel") %>'></asp:LinkButton>
                        </ItemTemplate>
                    </asp:Repeater>
                     
                      <asp:LinkButton ID="lbtnNext" runat="server" CausesValidation="false" 
                        onclick="lbtnNext_Click">Next</asp:LinkButton>
                      <asp:LinkButton ID="lbtnLast" runat="server" CausesValidation="false" OnClick="lbtnLast_Click" >Last</asp:LinkButton>
                </div>
				<div class="clear"></div>
			</div>
		</div>
    </div>
</asp:Content>
